package com.openingedu.mba.entity;

import java.util.Date;

/**
 * 消息对象
 * @author unidw
 *
 */
public class MessageVO {

	/** 消息ID **/
	private int ID;
	
	/** 
	 * 消息类型 
	 * 1:普通消息
	 * 2:月度/周考
	 * **/
	private int type;
	
	/** 消息内容 **/
	private String content;
	
	/** 目标地址 **/
	private String targetUrl;
	
	/** 消息生成时间 **/
	private Date createTime;
	
	/** 消息过期时间 **/
	private Date timeOutTime;
	
	/** 是否已读 **/
	private boolean read;

	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTargetUrl() {
		return targetUrl;
	}

	public void setTargetUrl(String targetUrl) {
		this.targetUrl = targetUrl;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getTimeOutTime() {
		return timeOutTime;
	}

	public void setTimeOutTime(Date timeOutTime) {
		this.timeOutTime = timeOutTime;
	}

	public boolean isRead() {
		return read;
	}

	public void setRead(boolean read) {
		this.read = read;
	}
	
}
